package com.csxy.ljr.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.csxy.ljr.entity.EduCourse;
import com.csxy.ljr.entity.vo.CourseInfoForm;
import com.csxy.ljr.entity.vo.CoursePublishVo;
import com.csxy.ljr.entity.vo.CourseQuery;
import com.csxy.ljr.entity.vo.CourseWebVo;

public interface EduCourseService extends IService<EduCourse> {
    String addCourseInfo(CourseInfoForm courseInfoForm);

    CourseInfoForm getCourseInfoById(String courseId);

    void updateCourseInfo(CourseInfoForm courseInfoForm);

    boolean removeCourseById(String id);

    void pageQuery(Page<EduCourse> pageParam, CourseQuery courseQuery);

    CoursePublishVo getPublishCourseInfo(String id);

    CourseWebVo getBaseCourseInfo(String courseId);
}